package org.acme.cdc.wrap;

import com.github.shyiko.mysql.binlog.event.EventData;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author chentao
 * @version 1.0
 * @description: TODO
 * @date 2025/3/9 下午12:11
 */
public class BinlogUpdateObj extends BinlogObj {

    //更新数据
    private List<Map<String, Map<Serializable, Serializable>>> updateRowList = new ArrayList<>();

    public List<Map<String, Map<Serializable, Serializable>>> getUpdateRowList() {
        return updateRowList;
    }

    public void setUpdateRowList(List<Map<String, Map<Serializable, Serializable>>> updateRowList) {
        this.updateRowList = updateRowList;
    }

    public BinlogUpdateObj(String tableName, String type, EventData eventData) {
        super(tableName, type, eventData);
    }
}
